package com.feicheng.iou.service;

import com.feicheng.iou.entity.PaymentOptions;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feicheng.iou.entity.ProjectService;
import com.feicheng.iou.result.ResultInfoV110;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tianchunlei
 * @since 2021-06-28
 */
public interface PaymentOptionsService extends IService<PaymentOptions> {

    //查询分期付款服务列表
    ResultInfoV110 selectPaymentOptionsServiceList();

    //查询服务列表(不带分页)
    ResultInfoV110 selectPaymentOptionsListPage(Integer page, Integer size, PaymentOptions paymentOptions);

    //按照paymentOptions的id查询单条记录
    PaymentOptions selectPaymentOptionsByid(Integer id);

    //添加分期付款服务
    ResultInfoV110 insert(PaymentOptions paymentOptions);

    //修改分期付款服务
    ResultInfoV110 update(PaymentOptions paymentOptions);

    //删除分期付款服务
    ResultInfoV110 delete(Integer paymentOptionId);

    //分期服务开启关闭
    ResultInfoV110 updateStatus(Integer paymentOptionId,boolean status);

}
